<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('serial/serials/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('生产序列号')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-delivergoods {:$auth->check('serial/serials/delivergoods')?'':'hide'}" title="{:__('发货')}" ><i class="fa fa-plus"></i> {:__('发货')}</a>
                        <a href="javascript:;" class="btn btn-success btn-send {:$auth->check('serial/serials/send')?'':'hide'}" title="{:__('调货')}" ><i class="fa fa-plus"></i> {:__('调货')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-returngoods {:$auth->check('serial/serials/returngoods')?'':'hide'}" title="{:__('退货')}" ><i class="fa fa-plus"></i> {:__('退货')}</a>
                        <a href="javascript:;" class="btn btn-success btn-fenleis {:$auth->check('serial/serials/fenleis')?'':'hide'}" title="{:__('产品分类调整')}" ><i class="fa fa-plus"></i> {:__('产品分类调整')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-tovoid {:$auth->check('serial/serials/tovoid')?'':'hide'}" title="{:__('产品作废')}" ><i class="fa fa-plus"></i> {:__('产品作废')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-kefusend {:$auth->check('serial/serials/kefusend')?'':'hide'}" title="{:__('网销发货')}" ><i class="fa fa-plus"></i> {:__('网销发货')}</a>
                        <!--                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('serial/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>-->
                                                <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('serial/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        <!--                        <a href="javascript:;" class="btn btn-danger btn-import {:$auth->check('serial/import')?'':'hide'}" title="{:__('Import')}" id="btn-import-file" data-url="ajax/upload" data-mimetype="csv,xls,xlsx" data-multiple="false"><i class="fa fa-upload"></i> {:__('Import')}</a>-->

                        <!--                        <div class="dropdown btn-group {:$auth->check('serial/multi')?'':'hide'}">-->
                        <!--                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>-->
                        <!--                            <ul class="dropdown-menu text-left" role="menu">-->
                        <!--                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>-->
                        <!--                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>-->
                        <!--                            </ul>-->
                        <!--                        </div>-->
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('serial/edit')}"
                           data-operate-del="{:$auth->check('serial/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
<script id="categorytpl" type="text/html">
    <div class="row">
        <div class="col-xs-12">
            <div class="form-inline" data-toggle="cxselect" data-selects="group,admin,admins">
                <select  class="group  form-control two" name="type[]" data-url="/admin/ajax/cate?type=2&pid=0&id=8"></select>
                <select  class="admin form-control two" name="type[]" data-url="/admin/ajax/cate" data-query-name="pid"></select>
                <select  class="admins form-control two" name="type[]" data-url="/admin/ajax/cate" data-query-name="pid"></select>
                <input type="hidden" class="operate" data-name="type" value="=" />
                <input type="hidden" class="operate" name="type" value="" />
            </div>
        </div>
    </div>
</script>
<script id="dailishang" type="text/html">
            <input  id="c-agent_name"  name="dealer_uid"  data-rule="required"  data-source="/api/base/getAgent" data-primary-key="id" data-field="agent_name"   class="form-control selectpage"  type="text" value="">
            <input type="hidden" class="operate" data-name="dealer_uid" value="=" />
</script>
<script id="fengongsi" type="text/html">
            <input  id="c-agent_names"  name="branch_uid"  data-rule="required"  data-source="/api/base/githouse" data-primary-key="id" data-field="gname"   class="form-control selectpage"  type="text" value="">
            <input type="hidden" class="operate" data-name="branch_uid" value="=" />
</script>
